import React, { Component } from "react";
import List from "./pages/List";
import Statecom from "./pages/statecom";
import LianXi from "./pages/LianXi";
import Vote from "./vote";
import Home from "./Home";
import Vote2 from "./vote2/Vote2";
import Shoukong from "./shoukong";
import Vote3 from "./lianxi demo2/Vote3";
//类组件 必须有个render函数 返回
//入口 组件 渲染组件

class App extends Component {
  render() { //将虚拟dom转为真实dom 挂载dom 组件更新render都会执行
    return <div>
      {/*    <h2>app组件</h2> */}
      {/*   <Statecom></Statecom> */}
      {/*   <LianXi></LianXi> */}
      {/* <Vote></Vote> */}
      {/*  <Home></Home> */}
      {/* <Vote2></Vote2> */}
      {/*  <Shoukong></Shoukong> */}
      <Vote3></Vote3>
    </div>
  }
}

export default App

/* export {
  App
} */